package com.tandashi.springbootstudy01.service.es;

import org.elasticsearch.client.RestHighLevelClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ElasticService extends ElasticServiceBase {

    @Override
    protected RestHighLevelClient getClient() {
        return client;
    }

    @Autowired
    private RestHighLevelClient client;
}
